.frame {
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  position: relative;
  overflow: hidden;
  width: 500px;
  margin: 30vh auto 20vh auto;
  -webkit-box-reflect: below 0 linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}
.frame .horizontal-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.frame .horizontal-lines .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1890ff;
  transform: scaleX(0);
  animation: scale-x-in 1s forwards var(--ease-in-out-cubic);
}
.frame .horizontal-lines .line:nth-child(1) {
  top: 0;
}
.frame .horizontal-lines .line:nth-child(2) {
  bottom: 0;
}
.frame .vertical-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.frame .vertical-lines .line {
  position: absolute;
  width: 2px;
  height: 50%;
  background: #1890ff;
}
.frame .vertical-lines .line:nth-child(odd) {
  top: -50%;
  animation: slide-down 2s infinite var(--ease-in-out-cubic);
}
.frame .vertical-lines .line:nth-child(even) {
  bottom: -50%;
  animation: slide-up 2s infinite var(--ease-in-out-cubic);
}
.frame .vertical-lines .line:nth-child(n+3) {
  right: 0;
}
.frame .blingbling {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, var(--primary-color), transparent);
  filter: blur(4px);
  transform: translateX(-101%);
  animation: slide-right 0.6s   infinite;
}

.staggered-flip-in {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  padding: 12px 24px;
  color: #1890ff;
  font-size: 80px;
  line-height: 1;
  font-space: pre;
  overflow: hidden;
}
.staggered-flip-in span {
  padding: 8px;
  opacity: 0;
  transform: rotateY(90deg);
  animation: flip-in 2s infinite var(--ease-in-out-cubic), fade-in 2s infinite var(--ease-in-out-cubic);
}

@keyframes flip-in {
  to {
    transform: rotateY(0);
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes scale-x-in {
  to {
    transform: scaleX(1);
  }
}
@keyframes slide-up {
  to {
    transform: translateY(-100%);
  }
}
@keyframes slide-down {
  to {
    transform: translateY(100%);
  }
}
@keyframes slide-right {
  to {
    transform: translateX(101%);
  }
}

